package bb.lanxing.lib.devices.api;

import android.os.Parcel;
import android.os.Parcelable;

public interface SmartDevice extends Parcelable {
    String BICI_KEY_NAME = "bc";
    String DFU_KEY_NAME = "dfu";
    String IGPS_KEY_NAME = "igs";
    int PROTOCOL_ANT_PLUS = 2;
    int PROTOCOL_BLE = 1;
    int TYPE_UNKNOW = 0;
    int TYPE_BICI = 1;
    int TYPE_CADENCE = 2;
    int TYPE_HEARTRATE = 3;
    int TYPE_SMARTWATCH = 4;
    int TYPE_X1 = 5;
    int TYPE_Q1 = 6;
    int TYPE_BES = 8;
    int TYPE_WINGS = 9;
    int TYPE_IGPS = 11;
    int TYPE_BRYTEN = 12;
    int TYPE_DISCOVERY = 14;
    int TYPE_SYSTEM = 15;
    int TYPE_HEARTRATE_BELT = 16;
    int TYPE_XOSS_G = 17;
    int TYPE_RADAR_SR = 18;
    int TYPE_VORTEX_CADENCE = 19;
    int TYPE_CYCLE_PLUS_M2 = 26;
    int TYPE_CHILEAF_600 = 27;
    int TYPE_XOSS_NAV = 28;
    int TYPE_CYCLE_PLUS_M1 = 29;
    int TYPE_HR_X2_PRO = 30;
    int TYPE_LIGHT = 31;

    int TYPE_WATCH_OTA = 32;
    int TYPE_POWERRATE = 35;
    int TYPE_BIKE_TRAINER = 36;
    int TYPE_INDOOR_BIKE = 37;
    int TYPE_FTMS_OTHER = 38;
    int TYPE_CROSS_TRAINER = 39;
    int TYPE_ROWER = 40;
    int TYPE_SENSORS = 1000;
    int TYPE_SENSOR_CADENCE_OR_SPEED = 1001;
    int TYPE_SENSOR_CADENCE_AND_SPEED = 1002;
    int TYPE_SENSOR_HEART_RATE = 19;//duplicated with TYPE_VORTEX_CADENCE
    int TYPE_BIKE_COMPUTER = 1003;

    int TYPE_CADENCE01 = 1005;
    int TYPE_HEART_RATE01 = 1006;
    String XOSS_G_KEY_NAME = "xoss g";

    String getAddress();

    int getFlags();

    String getName();

    int getProtocol();

    int getRssi();

    byte[] getScanRecord();

    int getType();

    void readFromParcel(Parcel parcel);

    void setAddress(String str);

    void setFlags(int i);

    void setName(String str);

    void setProtocol(int i);

    void setRssi(int i);

    void setScanRecord(byte[] bArr);

    void setType(int i);

    @Override
    void writeToParcel(Parcel parcel, int i);
}
